package com.szrt.day20170419.ch03;

public class Cal {
	
	
	/**
	 * 传过来的数据  daizi是已知  业务类
	 * @param daizi
	 * @return
	 */
	public  int add(Daizi daizi){
		
		int x = daizi.accessX();
		int y = daizi.y;
		return x+y;
	}

}
